/* 面包屑导航 */
.breadcrumb-link {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: 3rem 21.8rem 3rem 21rem;
}

.dm-border-line {
  border-right: 0.1rem solid #3c3c3c66;
  height: 1.1rem;
}

.breadcrumb-item > a {
  font-size: var(--dm-font-body-text);
  font-weight: var(--dm-font-body-weight);
  line-height: var(--dm-font-body-line);
}

/* 灰色 */
.breadcrumb-item a.inactive {
  color: #3c3c3c66 !important;
}

/* 高亮 */
.breadcrumb-item a.active {
  /* 不换行 */
  white-space: nowrap;
  color: var(--dm-color-primary) !important;
}

.breadcrumb-link .bread-center {
  gap: 0.9rem;
  display: flex;
  align-items: center;
}

/* Guide 产品汇总页 Banner */
.guide-banner-container {
  position: relative;
  height: 52.5rem; /* 根据需要调整 */
  overflow: hidden;
  width: 150rem;
  margin: 0 auto;
}

.guide-banner-container .hero-bg {
  width: 100%;
  height: 52.5rem; /* 根据需要调整 */
}

.guide-banner-container .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 图片填满容器 */
}

.guide-banner-container .hero-content {
  position: absolute;
  top: 8rem;
  right: 10.6rem;
  width: 87.5rem;
  text-align: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.guide-banner-container .hero-content h1 {
  color: var(--dm-color-primary);
  font-size: 4.8rem;
  font-weight: var(--dm-font-body-weight);
  font-family: var(--dm-font-family-base);
  margin-bottom: 2.4rem;
}

.guide-banner-container .hero-content p {
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  color: var(--dm-color-hover);
  text-align: right;
  margin-bottom: 4rem;
  width: 57.4rem;
}

.guide-banner-container .hero-content .btn {
  font-size: var(--dm-font-body2-size);
  background-color: var(--dm-color-primary); /* 你的金色按钮 */
  color: #fff;
  width: 28.8rem;
  height: 6.6rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.guide-banner-container .hero-content .btn:hover {
  background: var(--dm-color-white);
  color: var(--dm-color-primary);
  outline: 1px solid var(--dm-color-primary);
}

/*   <!-- Guide指南介绍 --> */
.guide-introduction-container {
  display: flex;
  justify-content: center;
  gap: 4.6rem;
  margin: 12.7rem 0;
  position: relative;
  box-sizing: border-box;
}

.guide-introduction-container .guide-introduction-left {
  border: 0.1rem solid var(--dm-color-border);
  width: 36.1rem;
  max-height: 55rem;
  background-color: #ccb5900f;
  overflow-y: auto;
  padding: 3.4rem 2.1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  top: 0; /* 滚动到顶部时固定 */
  position: sticky;
}

.guide-introduction-container
  .guide-introduction-left
  .guide-introduction-title {
  color: var(--dm-gray-500);
  font-size: 2.2rem;
  font-family: var(--dm-font-family-base);
  font-weight: bold;
}

.guide-introduction-container .guide-introduction-left .serial-container {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
}

.guide-introduction-container
  .guide-introduction-left
  .serial-container
  .row-serial {
  padding-bottom: 2.1rem;

  /* 虚线 */
  border-bottom: 0.1rem dashed var(--dm-color-border);
}

.guide-introduction-container
  .guide-introduction-left
  .serial-container
  .row-serial
  .row-hyper-link {
  display: flex;
  gap: 0.9rem;
  color: var(--dm-gray-500);
  font-size: var(--dm-font-body1-size);
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-body1-weight);
}

.guide-introduction-container .guide-introduction-right {
  width: 109.1rem;
}

.guide-introduction-right h2 {
  font-size: var(--dm-font-h1-size) !important;
  color: var(--dm-color-primary) !important;
  font-weight: var(--dm-font-h1-weight);
  z-index: 1;
  font-family: var(--dm-font-family-base);
  line-height: 6.6rem;
}

.guide-introduction-right p {
  font-size: var(--dm-font-body1-size) !important;
  line-height: var(--dm-font-body1-line) !important;
  color: var(--dm-color-text);
}

.guide-introduction-right ul li {
  font-size: var(--dm-font-body1-size) !important;
  line-height: var(--dm-font-body1-line) !important;
  color: var(--dm-color-text);
}

/* FAQ板块 */
.guide-faq-container {
  width: 150rem;
  margin: 0 auto;
}

.guide-faq-container .guide-faq-title {
  font-size: var(--dm-font-h1-size);
  color: var(--dm-color-primary) !important;
  font-weight: var(--dm-font-h1-weight);
  font-family: var(--dm-font-family-base);
  text-align: center;
  padding-bottom: 4.2rem;
  border-bottom: 0.1rem solid var(--dm-color-border);
}

.guide-faq-container .guide-faq-item {
  padding: 2.2rem 0;
  box-sizing: border-box;
  border-bottom: 0.1rem solid var(--dm-color-border);
}

.guide-faq-container .guide-faq-item .faq-title-description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.guide-faq-container .guide-faq-item .faq-title-description .faq-title {
  font-size: var(--dm-font-h3-size);
  font-weight: var(--dm-font-h3-weight);
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
}

.guide-faq-container .guide-faq-item .faq-content {
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body2-weight);
  font-family: var(--dm-font-family-base);
  line-height: var(--dm-font-body1-line);
  color: var(--dm-gray-400);
  display: none; /* 默认隐藏 */
}

/* 箭头默认向上，点击后旋转 180° */
.guide-faq-container .guide-faq-item .faq-title-description svg {
  transition: transform 0.2s ease;
}

.guide-faq-container .guide-faq-item .faq-title-description svg.open {
  transform: rotate(180deg);
}

/* <!-- Explore More Guides 板块 --> */
.guide-explore-more-guides-container {
  width: 150rem;
  margin: 12.8rem auto;
}

.guide-explore-more-guides-container .guide-explore-title {
  font-size: var(--dm-font-h1-size);
  color: var(--dm-color-primary) !important;
  font-weight: var(--dm-font-h1-weight);
  font-family: var(--dm-font-family-base);
  text-align: center;
  margin-bottom: 4.2rem;
}

.guide-explore-more-guides-container .explore-categories-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem 3rem;
}

.guide-explore-more-guides-container
  .explore-categories-content
  .explore-categories-item {
  cursor: pointer;
  border: 0.1rem solid var(--dm-color-text);
  padding: 1.5rem 1.3rem;
  text-align: center;
  font-size: var(--dm-font-body2-size);
  font-weight: var(--dm-font-body2-weight);
  color: var(--dm-gray-500);
  font-family: var(--dm-font-family-base);
  line-height: var(--dm-font-body2-line);
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.guide-explore-more-guides-container
  .explore-categories-content
  .explore-categories-item:hover {
  background-color: var(--dm-color-primary);
  color: var(--dm-color-white);
  border: 0.1px solid transparent !important; /* 一直存在，但初始透明 */
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/*  Latest Products 板块（自动抓取数据） */
.guide-popular-designs-content {
  position: relative;
  padding: 0 0 6.4rem;
}

.guide-popular-designs-content h2 {
  color: var(--dm-color-primary);
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h1-weight);
  font-size: var(--dm-font-h1-size);
  text-align: center;
  margin-bottom: 4.2rem;
}

.guide-popular-designs-content .oc-main-sam-featured-wrapper .slide-button {
  position: absolute;
  top: 29.7rem;
  width: 5rem;
  height: 5rem;
  transition: 0.3s;
  background: #ffffff4d;
  cursor: pointer;
}

.guide-popular-designs-content
  .oc-main-sam-featured-wrapper
  .slide-button.slide-button-active {
  cursor: pointer;
}

.guide-popular-designs-content
  .oc-main-sam-featured-wrapper
  .slide-button.slide-button-active
  path {
  stroke: black;
}

.guide-popular-designs-content .oc-main-sam-featured-wrapper .button-prev {
  top: 43%;
  left: 21rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-popular-designs-content .oc-main-sam-featured-wrapper .button-next {
  top: 43%;
  right: 1%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-popular-designs-content .products-title {
  font-weight: 900;
  color: #333;
  margin-bottom: 0.8rem;
  text-align: center;
}

.guide-popular-designs-content .cards-wrapper {
  margin: 0 0 0 21rem;
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.guide-popular-designs-content .cards-wrapper::-webkit-scrollbar {
  width: 0;

  /* Safari,Chrome 隐藏滚动条 */
  height: 0;

  /* Safari,Chrome 隐藏滚动条 */
  display: none;

  /* 移动端、pad 上Safari，Chrome，隐藏滚动条 */
}

.guide-popular-designs-content .cards-wrapper .product-card-item {
  width: 47rem;
  flex: 0 0 auto;
  align-self: stretch;
}

.guide-popular-designs-content .cards-wrapper .product-card-item a {
  display: flex;
  width: 47rem;
  height: 47rem;
}

.guide-popular-designs-content .cards-wrapper .product-card-item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-image-wrapper {
  overflow: hidden;
}

.cards-wrapper .product-card-item .product-image {
  width: 100%;
  object-fit: cover;
  transition: all 0.5s;
  aspect-ratio: 3/2;
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-image:hover {
  transform: scale(1.1);
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-content {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  margin-top: 2.1rem;
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-content
  h4 {
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  font-size: var(--dm-font-h3-size);
  color: var(--dm-gray-500);
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-content
  p {
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  color: var(--dm-gray-500);
  font-size: var(--dm-font-body2-size);
  line-height: var(--dm-font-body2-line);

  /* 三行展示 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-content
  .product-title {
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  color: var(--dm-gray-500);
  font-size: var(--dm-font-h3-size);
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.guide-popular-designs-content
  .cards-wrapper
  .product-card-item
  .product-content
  .product-title:hover {
  color: var(--dm-color-primary);
  text-decoration: underline;
}

/* 左右切换按钮 */
.guide-popular-designs-content .btn-wrapper {
  display: none;
  margin-top: 0.6rem;
  margin-left: 2.15rem;
  margin-bottom: 0.6rem;
}

.guide-popular-designs-content .btn-wrapper .slide-button {
  display: flex;
  cursor: pointer;
  width: 0.5rem;
  height: 0.5rem;
}

.guide-popular-designs-content .btn-wrapper .slide-button svg {
  width: 100%;
  height: 100%;
}

.guide-popular-designs-content .products-btn {
  width: 26rem;
  height: 4.2rem;
  display: flex;
  border-radius: 0.4rem;
}

.guide-popular-designs-content .products-btn > button {
  padding: 1rem 1.7rem 0.9rem;
  flex: 1;
  font-family: var(--dm-font-family-base);
  color: var(--dm-color-primary);
  border-radius: 0.4rem;
  line-height: var(--dm-font-body1-size);
  font-weight: var(--dm-font-h2-weight);
  font-size: var(--dm-font-body1-size);
  border: 0.1rem solid var(--dm-color-primary);
}

.guide-popular-designs-content .inquiry {
  color: var(--dm-color-white) !important;
  background-color: var(--dm-color-primary);
}

@media (width <= 768px) {
  /* 面包屑导航 */
  .breadcrumb-link {
    margin: 2.3rem 3.3rem 3rem;
  }

  /* Banner */
  .guide-banner-container {
    width: 75rem;
  }

  .guide-banner-container .hero-content {
    width: 68.9rem;
    top: 0;
    left: 3.1rem;
    text-align: unset;
    display: flex;
    flex-direction: column;
    align-items: unset;
  }

  .guide-banner-container .hero-content p {
    text-align: unset;
  }

  .guide-banner-container .hero-content .btn {
    width: 44.4rem;
    height: 9.6rem;
  }

  /* Guide指南介绍 */
  .guide-introduction-container .is-move {
    display: none;
  }

  .guide-introduction-container .guide-introduction-right {
    width: 68.8rem;
  }

  /* FAQ板块 */
  .guide-faq-container {
    width: 69rem;
  }

  /* Latest Products 板块（自动抓取数据） --> */
  .guide-explore-more-guides-container {
    width: 69rem;
  }

  .guide-explore-more-guides-container .explore-categories-content {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Latest Products 板块（自动抓取数据） */
  .guide-popular-designs-content h2 {
    margin-bottom: 6.6rem;
  }

  .guide-popular-designs-content .cards-wrapper {
    margin: 0 0 0 3.1rem;
    gap: 2.4rem;
  }

  .guide-popular-designs-content .oc-main-sam-featured-wrapper .button-prev {
    left: 3.1rem;
  }

  .oc-main-sam-featured-wrapper {
    display: none;
  }

  .guide-popular-designs-content .cards-wrapper .product-card-item {
    width: 45rem;
  }

  .guide-popular-designs-content .cards-wrapper .product-card-item a {
    width: 45rem;
    height: 45rem;
  }

  .guide-popular-designs-content
    .cards-wrapper
    .product-card-item
    .product-content
    p {
    line-height: 4.2rem;
    font-size: 3.4rem;
  }

  .guide-popular-designs-content .products-btn {
    width: 33.4rem;
    height: 6.65rem;
  }

  .guide-popular-designs-content
    .cards-wrapper
    .product-card-item
    .product-content {
    gap: 4.2rem;
  }

  .guide-popular-designs-content .products-btn > button {
    font-size: 2.6rem;
    padding: 1rem 1.5rem 0.9rem;
  }
}
